-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: lookup manifest file size #2590
feat: lookup manifest file size #2590
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #2590 +/- ##
===========================================
- Coverage 85.33% 84.86% -0.48%
===========================================
Files 737 738 +1
Lines 118030 119148 +1118
===========================================
+ Hits 100724 101109 +385
- Misses 17306 18039 +733 |
fbf9197
to
bd8989f
Compare
After discussing with @evenyag , we decide to only calculate manifest size from the latest checkpoint, the files'version <= latest checkpoint will not be included.
|
Co-authored-by: Yingwen <[email protected]>
e2068ef
to
33ae485
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
HashMap<String, u64>
to keep track for every manifest file size inManifestObjectStore
.RegionManifestManager::manifest_size()
to get manifest files size.Checklist
Refer to a related PR or issue link (optional)
#2551